//
//  MyEnterTableViewCell.m
//  INAlienLand
//
//  Created by wYz on 15/7/10.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MyEnterTableViewCell.h"

@implementation MyEnterTableViewCell

- (void)dealloc{
  
    [self.label release];
    [super dealloc];
}


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
   
        
        
        self.label = [[UILabel alloc]init];
        [self.contentView addSubview:self.label];
     
        [self.label release];
    }
    
    return self;
}

- (void)layoutSubviews{
    
    [super layoutSubviews];
    self.label.frame = CGRectMake(0, 10, self.contentView.frame.size.width, self.contentView.frame.size.height-20);
    self.label.textAlignment = NSTextAlignmentCenter;
    self.label.backgroundColor = [UIColor grayColor];
    self.label.textColor = [UIColor whiteColor];
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
